[C] glist.c: No such file or directory

Posted by sterh on Stack Overflow See other posts from Stack Overflow or by sterh
Published on 2010-06-10T14:48:26Z Indexed on 2010/06/10 14:53 UTC
Read the original article Hit count: 259

Filed under:
|

Hello,

I have c/gtk+ application and GList which filled three elements, when i try to run following code with gdb:

if (g_list_length(mw->img_list) > 0)
   printf(">0");
else
   printf("<0");

i see:

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb73c4700 (LWP 7936)] IA__g_list_length (list=0x6e6920) at glist.c:767 767 glist.c: No such file or directory. in glist.c

What is it?

Thank you.

© Stack Overflow or respective owner

Related posts about gtk2

Related posts about segfault